FROM nginx
ADD ./dist /etc/nginx/html
# COPY mycert.pem /etc/nginx/mycert.pem
# COPY privatekey.pem /etc/nginx/privatekey.pem
COPY nginx.conf /etc/nginx/nginx.conf
EXPOSE 80

WORKDIR /home/ainotemark
ADD entrypoint.sh entrypoint.sh
RUN chmod +x entrypoint.sh

CMD ["./entrypoint.sh"]
